<?xml version="1.0" encoding="utf-8"?>
<process version="1" name="Master" xmlns="http://www.nginn.org/WorkflowDefinition.1_0.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <dataTypes>
    </dataTypes>
    <variables>
		<variable name="userId" type="int" required="true" dir="Out" />
    </variables>
    <body>
        <places>
            <place id="start" type="Start" />
            <place id="end" type="End" />
        </places>
        <tasks>
			<task id="T1" type="Subprocess">
				<variables>
					<variable name="userName" type="string" required="true" dir="In" />
					<variable name="userId" type="int" required="true" dir="Out" />
				</variables>
				<inputBindings>
					<bind variable="userName">
						<expr>"juzek ma kota"</expr>
					</bind>
				</inputBindings>
				<outputBindings>
					<bind variable="userId">
						<expr>data.userId</expr>
					</bind>
				</outputBindings>
				<parameters>
					<param variable="SubprocessDefinition"><value>Test2.Sub.1</value></param>
				</parameters>
            </task>
        </tasks>
        <flows>
            <flow from="start" to="T1" />
            <flow from="T1" to="end" />
        </flows>
    </body>
</process>